package com.bjc.sdx.utils;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyBRReceiver extends BroadcastReceiver {
    /*
    * @Description  广播的工具类， 接收广播应该做的操作
    * */
    @Override
    public void onReceive(Context context, Intent intent) {
        Toast.makeText(context,"你有一条新的广播消息", Toast.LENGTH_SHORT).show();
    }
}